import request from "@/utils/request";

// 删除节假日
export function deleteHolidayAPI(data) {
  return request({
    url: "/tHoliday/delete",
    method: "post",
    data: data,
  });
}

export function saveHolidayAPI(data) {
  return request({
    url: "/tHoliday/save",
    method: "post",
    data: data,
  });
}

export function updateHolidayAPI(data) {
  return request({
    url: "/tHoliday/update",
    method: "post",
    data: data,
  });
}

export function getHolidayListAPI(data) {
  return request({
    url: "/tHoliday/list",
    method: "get",
    params: data,
  });
}
